package com.gk.panda.apis.patrol.commons;

import lombok.Data;

import java.io.Serializable;


@Data
public class CommonRequest implements Serializable {

  private static final long serialVersionUID = 1L;

  // 根据业务需求选择，可不传
  private int pageSize = 10;
  // 根据业务需求选择，可不传
  protected int pageNum = 1;

  public void setNumAndSize(int pageNum, int pageSize) {
    this.pageSize = pageSize;
    this.pageNum = pageNum;
  }
}
